package com.zrar.ak.gkpt.dao;

import com.zrar.ak.gkpt.model.bo.*;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: IBusinessSchemeRefinementSystemDao
 * @Description: 应用系统
 * @Author: CaoTao
 * @Create: 2020/04/03
 */
@Repository("businessSchemeRefinementSystem")
public interface IBusinessSchemeSystemInfoDao extends Mapper<BusinessSchemeSystemInfoBO> {

    int deleteSystemlById(String id);

    /**
     * 根据建设单位查询信息
     * @param map
     * @return
     */
    int querySystemByUnitId(Map map);

    int insertInfo(List<BusinessSchemeSystemInfoBO> businessSchemeSystemInfoBOList);

    int updateInfo(List<BusinessSchemeSystemInfoBO> systemList);

    BusinessSchemeSystemInfoBO queryById(String id);

    int queryByType(Map map);

    List<BusinessSchemeSystemInfoBO> queryAllByBasicsId(String basicsId);
}
